/*
 * #%L
 * Stopping The Future In Time
 * $Id:$
 * $HeadURL: http://java-creed-examples.googlecode.com/svn/concurrency/Stopping%20The%20Future%20In%20Time/src/main/java/com/javacreed/examples/concurrency/Util.java $
 * %%
 * Copyright (C) 2012 - 2014 Java Creed
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package com.javacreed.examples.concurrency;

public class Util {

    public static void printLog(final String message, final Object... params) {
        System.out.printf("[%tF %<tT] [%s] %s%n", System.currentTimeMillis(), Thread.currentThread().getName(), String.format(message, params));
    }

    private Util() {};
}
